package com.schedualnew.mq.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mq")
@Data
public class AppParamsConfig {
    private String fid;
    private String userName;
    private String password;
    private String sysFlag;
    private String orderNo;
    private String sourceSystemCode;
    private String targetSysCode;
    private String returnFlag;

    private String hospCode;

    private String changeExaminationStatusManageMQ;
    private String changeExaminationStatusChannelId;


    /**
     * 监听检查状态
     */
    private Boolean listenExaminationStatusChangeEnable;
    /**
     * 监听管理队列
     */
    private String listenExaminationStatusChangeMMQ;
    /**
     * 监听队列
     */
    private String listenExaminationStatusChangeMQ;


    /***
     * 监听管理队列-检查项目 是否启用
     */
    private Boolean listenExamItemChangeEnable;
    /**
     * 监听管理队列-检查项目
     */
    private String listenExamItemChangeMMQ;
    /**
     * 监听队列-检查项目
     */
    private String listenExamItemChangeMQ;


    /***
     * 监听管理队列-检查科室 是否启用
     */
    private Boolean listenDeptChangeEnable;
    /**
     * 监听管理队列-检查科室
     */
    private String listenDeptChangeMMQ;
    /**
     * 监听队列-检查科室
     */
    private String listenDeptChangeMQ;


    /***
     * 职工字典监听配置 ########################################################################
     */

    /***
     * 监听管理队列-职工字典 是否启用
     */
    private Boolean listenUserChangeEnable;
    /**
     * 监听管理队列-职工字典
     */
    private String listenUserChangeMMQ;
    /**
     * 监听队列-职工字典
     */
    private String listenUserChangeMQ;

    /**
     * ####################################### 微信消息
     */

    /**
     * 是否开启微信消息推送
     */
    private Boolean pushWechat;

    /**
     * 微信消息推送接口
     */
    private String pushWechatUrl;

    /**
     * 微信消息推送标题
     */
    private String pushWechatTitle;

    /**
     * 微信消息内容
     */
    private String pushWechatMsg;

    /**
     * 微信消息-跳转连接
     */
    private String pushWechatLinkUrl;

    /**
     * 微信消息推送标题
     */
    private String pushWechatCancelTitle;

    /**
     * 微信消息内容
     */
    private String pushWechatCancelMsg;
}
